<?php
namespace common\components;
use Yii;

class Tools
{
	public static function removeEndPoint($url){
		if(!$url){
			return '';
		}else{
			return str_replace(Yii::$app->params['photoUrlOther3'], '', $url);
		}
	}
}